package com.lkd.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lkd.entity.BusinessType;
import com.lkd.entity.Region;
import com.lkd.entity.VendingMachine;
import com.lkd.entity.VmType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class NodeDetailVo {
private static final long serialVersionUID = 1L;

//tb_vending_machine
    /**
     * 点位id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 售货机类型
     */
    private Integer vmType;
    /**
     * 售货机软编号
     */
    private String innerCode;
    /**
     * 点位Id
     */
    private Long nodeId;
    /**
     * 售货机状态，0:未投放;1-运营;3-撤机
     */
    private Integer vmStatus;
    /**
     * 上次补货时间
     */
    private LocalDateTime lastSupplyTime;
    /**
     * 所在城市ID
     */
    private String cityCode;
    /**
     * 地区id
     */
    private Integer areaId;
    /**
     * 创建人id
     */
    private Long createUserId;
    /**
     * 创建人姓名
     */
    private String createUserName;
    /**
     * 商圈Id
     */
    private Integer businessId;
    /**
     * 区域Id
     */
    private Long regionId;
    /**
     * 点位主Id
     */
    private Integer ownerId;
    /**
     * 所属合作商名称
     */
    private String ownerName;
    /**
     * 客户端连接Id,做emq认证用
     */
    private String clientId;
    /**
     * 经度
     */
    private Double longitudes;
    /**
     * 纬度
     */
    private Double latitude;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    private LocalDateTime updateTime;



    @TableField(exist = false)
    private VmType type;

    @TableField(exist = false)
    private NodeVVo node;

    @TableField(exist = false)
    private Region region;

}
